package com.zzx.threekingdom.activity;


import com.zzx.threekingdom.resmanager.ResManager;
import com.zzx.threekingdom.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class ThreeKingdomEnter extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.enter);
       
        Button button1v1 = (Button)findViewById(R.id.Button01);
        button1v1.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view)
            {
                Intent intent = new Intent();
                intent.setClass(ThreeKingdomEnter.this, PlayActivity.class);
                startActivity(intent);
            }
        });
        
        Button buttonFaq = (Button)findViewById(R.id.Button03);
        buttonFaq.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view)
            {
                Intent intent = new Intent();
                intent.setClass(ThreeKingdomEnter.this, Faq.class);
                startActivity(intent);
            }
        });
        
        ResManager.loadBitmapRes(getResources());
    }
}